// Clase que define un cilindro utilizando arreglos

#ifndef ARRAY_CYLINDER_H_
#define ARRAY_CYLINDER_H_

#include "ArrayGeo.h"

class ArrayCylinder : public ArrayGeo
{
private:
	Transform* mRotation;

	float mRb;
	float mRt;
	float mH;
	float mAngleDelta;
	bool bRotate;

public:
	ArrayCylinder( float rb,float rt, float h, VisibleFace vf, GraphicalFace gf,ShadingModel sm );
	~ArrayCylinder();

	void AllowRotate( bool flag );
	virtual void VUpdate(float delta);
};

#endif // ARRAY_CYLINDER_H_